package cn.hznc.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author：Administrator
 * @Date：2023/5/11 21:14
 */
@Getter
@Setter
@Table(name = "t_assembly_tool_inventory")
@TableName(value = "t_assembly_tool_inventory")
public class AssemblyToolInventoryEntity{

    /**
     * 系统编码
     */
    @Column(name = "id",type = MySqlTypeConstant.INT,length = 11,isKey = true,isAutoIncrement = true)
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 刀具号
     */
    @Column(name = "tool_no",type = MySqlTypeConstant.VARCHAR,length = 100)
    @TableField("tool_no")
    private String toolNo;

    /**
     * 总成名
     */
    @Column(name = "name",type = MySqlTypeConstant.VARCHAR,length = 255)
    @TableField("name")
    private String name;

    /**
     * 总成类型
     */
    @Column(name = "type",type = MySqlTypeConstant.VARCHAR,length = 100)
    @TableField("type")
    private String type;

    /**
     * 总成图片
     */
    @Column(name = "image",type = MySqlTypeConstant.VARCHAR,length = 400)
    @TableField("image")
    private String image;

    /**
     * 刀具类型
     */
    @Column(name = "tool_type",type = MySqlTypeConstant.VARCHAR,length = 100)
    @TableField("tool_type")
    private String toolType;


    /**
     * 刀柄类型
     */
    @Column(name = "shank_type",type = MySqlTypeConstant.VARCHAR,length = 100)
    @TableField("shank_type")
    private String shankType;

    /**
     * 刀具数量
     */
    @Column(name = "tool_number",type = MySqlTypeConstant.INT,length = 4)
    @TableField("tool_number")
    private Integer toolNumber;

    /**
     * 刀柄类型
     */
    @Column(name = "shank_number",type = MySqlTypeConstant.INT,length = 4)
    @TableField("shank_number")
    private Integer shankNumber;

}
